package visualization;

/**
 * A data structure that pairs a title with a piece of information about the title.
 * 
 * @author Ben Schwab
 * 
 * @param <S>
 * @param <T>
 */
public class PairEntry<S, T> {

    private S myTitle;
    private T myInfo;
/**
 * Create a paired title/info combo
 * @param title title of the pair
 * @param info info for the pair
 */
    public PairEntry (S title, T info) {
        myTitle = title;
        myInfo = info;
    }
    /**
     * 
     * @return returns the info of the pair
     */
    public T getMyInfo () {
        return myInfo;
    }
    /**
     * 
     * @return returns the title of the pair
     */ 
    public S getMyTitle () {
        return myTitle;
    }

}
